package com.example.shop_2207.net

/**
 * 产量值：存放网址 或者变量  常量
 */
class Cons {
    //伴生对象---单例
    companion object{
        const val BASE_URL = "http://10.161.9.80:7012/"
        const val LOGIN_URL = "/user/loginjson"
        const val REGISTER_URL = "/user/register"
        const val BANNER_URL = "/banner/json"
        const val CATEGORY_URL = "/goods/category"
        const val GOODS_URL = "/goods/info"

        //商品详情
        const val DETAIL_URL = "/goods/detail"
        //添加购物车
        const val ADDCAR_URL = "/goods/addCar"
        //查询购物车
        const val SELECTCAR_URL = "/goods/selectCar"
        //删除购物车
        const val DELETECAR_URL = "/goods/deleteCar"
        //修改头像
        const val UPDATEICON_URL = "/user/updateIcon"
    }
}